<template>
<div>
  <h2>我是count组件</h2>
  <p>{{price1 | priceNum | add$}}</p>
  <p>{{price2 | priceNum(3)}}</p>
  <p>{{price3 | priceNum(4) | add$}}</p>
</div>
</template>


<script>
export default {
  name:"Count",
  data(){
    return{
      price1:12,
      price2:13.34,
      price3:14.245,
    }
  }
}
</script>


<style></style>